﻿<%@ Page Title="Create Product Category Page" Language="C#" MasterPageFile="  ~/template/Site.Master" AutoEventWireup="true" CodeBehind="CreateProductCategory.aspx.cs" Inherits="EAAdmin.CreateProductCategory" %>
<%@ Import Namespace="EA.DTO" %>
<%@ Import Namespace="EA.Common" %>

<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
    
    <form id="form1" runat="server">
        <div>
            <div class="page_name">Catetory Creation</div>
             <div class="error">
            <%                
                String alert = "";
                if (Attributes.ContainsKey("err"))
                {
                    alert = (String)Attributes["err"];
            %>
            <div class="message">
                <div><%=alert%></div>
            </div>
            <%  }
                if (Attributes.ContainsKey("success"))
                {
                    alert = (String)Attributes["success"];
            %>
            <div class="message_alert">
                <div><%=alert%></div>
            </div>
            <%  } %>
        </div>
            <div>Name: <input type="text" class="textbox" name="pCategory" id="pCategory"/> <input type="submit" class="button" value="Create"/></div>
           
        </div>
    </form>
</asp:Content>